package com.hw.entity.po.order;

import com.hw.entity.base.BasePO;
import lombok.Data;
import lombok.EqualsAndHashCode;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;

/**
* 订单表 实体类
*
* @author xuguang
* @date 2021-06-28
*/
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_order")
public class Order  extends BasePO {

    /**
    * 订单id
    */
    @TableField(value = "c_order_id")
    private String orderId;

    /**
    * 菜品id
    */
    @TableField(value = "c_food_id")
    private String foodId;

    /**
    * 用户id
    */
    @TableField(value = "c_user_id")
    private String userId;

    /**
    * 菜品数量
    */
    @TableField(value = "c_number")
    private Integer number;

    /**
    * 菜品备注
    */
    @TableField(value = "c_remark")
    private String remark;

    /**
    * 价格
    */
    @TableField(value = "c_price")
    private Double price;

    /**
    * 订单id
    */
    @TableField(value = "c_task_id")
    private String taskId;

    /**
     * 用户订单标题
     */
    @TableField(value = "c_title")
    private String title;

}
